/**
 * 
 */
package evance.server.spring.core.interceptor;

import org.apache.log4j.Logger;

/**
 * @author BaoVuong
 *
 */
public class Log4jExecuteTimeStore implements ExecuteTimeStore {
	private static Logger log = Logger.getLogger(Log4jExecuteTimeStore.class);

	public void add(ExecuteTimeStore.ExecuteTimeInfo executeTimeInfo) {
		log.info("ExecuteTime: " + executeTimeInfo.getDurationMilisecond()
				+ " milisecond | MethodInvoked: "
				+ executeTimeInfo.getMethodInvoked().toString());
	}
}